﻿<%@ Page Title="" Language="C#" MasterPageFile="~/student/student.Master" AutoEventWireup="true" CodeBehind="学生选课.aspx.cs" Inherits="WebApplication2.student.学生选课" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:DataList ID="DataList1" runat="server" width="100%" OnItemDataBound="DataList1_ItemDataBound">
            <HeaderTemplate>
                <table border="1" width="100%">
                    <tr>
                    <td width="10%">选择项</td>
                    <td width="15%">课程代码</td>
                    <td width="15%">课程名称</td>
                    <td width="15%">老师代码</td>
                    <td width="15%">老师名称</td>
                    <td width="15%">学分</td>
                    <td width="8%">地点</td>
                    <td width="7%">课程类型</td>
                </tr>
                </table>
            </HeaderTemplate>
        <ItemTemplate>
            <table border="1" width="100%">
            <tr>
                <td width="10%"><asp:CheckBox ID="CheckBox1" runat="server" Checked='<%#Convert.ToBoolean(Eval("flag")) %>'/></td>
                <td width="15%"><asp:Label ID="lbl_kcdm" runat="server" Text='<%#Eval("kcdm") %>'></asp:Label></td>
                <td width="15%"><asp:Label ID="lbl_kcmc" runat="server" Text='<%#Eval("kcmc") %>'></asp:Label></td>
                <td width="15%"><asp:Label ID="lbl_lsdm" runat="server" Text='<%#Eval("dm") %>'></asp:Label></td>
                <td width="15%"><asp:Label ID="lbl_lsmc" runat="server" Text='<%#Eval("xm") %>'></asp:Label></td>
                <td width="15%"><asp:Label ID="lbl_xf" runat="server" Text='<%#Eval("xf") %>'></asp:Label></td>
                <td width="8%"><asp:Label ID="lbl_dd" runat="server" Text='<%#Eval("dd") %>'></asp:Label></td>
                <td width="7%"><asp:Label ID="lbl_kclx" runat="server" Text='<%#Eval("kclx") %>'></asp:Label></td>
            </tr>
        </table>
        </ItemTemplate>
    </asp:DataList>
    <table width="100%">
        <tr>
            <td align="center">
                <asp:Button ID="Button1" runat="server" Text="保存" OnClick="Button1_Click" style="height: 21px" />
            </td>
        </tr>
    </table>
</asp:Content>
